﻿@model IEnumerable<GosWeb.Models.Db.GeneRatio>

@{
    Layout = null;
}

<h2>Index</h2>

<p>
    @Html.ActionLink("Create New", "Create")
</p>
<table>
    <tr>
        <th></th>
        <th>
            BiontID
        </th>
        <th>
            GeneCode
        </th>
        <th>
            Ratio
        </th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.ActionLink("Edit", "Edit", new { id=item.GrID }) |
       
        </td>
        <td>
            @item.AnID
        </td>
        <td>
            @item.GeneCode
        </td>
        <td>
            @String.Format("{0:F}", item.Ratio)
        </td>
    </tr>
}

</table>

